Database reference guide |
HOME |
Data typeThis section introduces the basic data types that are available within Engine:
Columns and FieldsThe terms "Column" and "Field" are used interchangeably when working with Engine and can refer to either loaded data or derived data. TEXTUsed to store alphanumeric data. The text data type has several sub categories:
Array fields allow these responses to be coded and then stored in such a way that the data can be easily analyzed. The underlying storage mechanism is that used for text fields, and as such, array fields can be stored as either fixed Array or variable Array. An Array field is created by creating a normal text field and specifying an array format. Fixed or variable width storage can be explicitly set on a field by field basis. UNICODEThe Unicode data type is used to store double byte character sets. For more information on the scope of usage, please refer to the Language Data Support Best Practice Guide. INTEGERInteger fields are used to store numeric data that have no decimal values. It is important to note that Integer fields are stored as signed 32 bit integers. This gives them a range of -2147483647 to 2147483647. For storage of data that will go beyond this range, a BIGINT format must be used but this would have storage considerations (see below) BIGINTBIGINT fields, introduced in the Engine release with Campaign Manager 6.2, are used to store numeric data that have no decimal values, where the value goes beyond the scope of the INTEGER data type. BIGINT columns are stored as signed 64-bit integers and are therefore double the disk storage of the INTEGER and should only be used when required based on the incoming data.
REALReal fields are used to store integer or decimal numbers. The maximum precision is 6 decimal places. For example, the cost of a product, or a model score. DATEDate fields are used to store date data. Valid formats are: - CCYYMMDD - DDMMCCYY - CCYYDDMM - MMDDCCYY - DDMMYY - MMDDYY - DDMMCCYY TIMETime fields are used to store Time Data. Valid formats are: - HHMMSS - HHMM - HH:MM:SS - HH:MM DATETIMEDate Time fields are used to store date and time data in the same field. Valid formats are: - CCYYMMDD HHMMSS - CCYYMMDD HHMM - CCYYMMDD HH:MM:SS - CCYYMMDD HH:MM - DDMMCCYY HHMMSS - DDMMCCYY HHMM - DDMMCCYY HH:MM:SS - DDMMCCYY HH:MM - CCYYDDMM HHMMSS - CCYYDDMM HHMM - CCYYDDMM HH:MM:SS - CCYYDDMM HH:MM - MMDDCCYY HHMMSS - MMDDCCYY HHMM - MMDDCCYY HH:MM:SS - MMDDCCYY HH:MM - DDMMYY HHMMSS - DDMMYY HHMM - DDMMYY HH:MM:SS - DDMMYY HH:MM - MMDDYY HHMMSS - MMDDYY HHMM - MMDDYY HH:MM:SS - MMDDYY HH:MM - DDMMMCCYY HHMMSS - DDMMMCCYY HHMM - DDMMMCCYY HH:MM:SS - DDMMMCCYY HH:MM |
Online & Instructor-Led Courses | Training Videos | Webinar Recordings | ![]() |
|
![]() |
© Alterian. All Rights Reserved. | Privacy Policy | Legal Notice | ![]() ![]() ![]() |